package vo
{
	import com.adobe.cairngorm.vo.IValueObject;
	
	import flash.events.EventDispatcher;
	import flash.net.registerClassAlias;
	
	[RemoteClass(alias="TestObject")]
	public class TestObject extends EventDispatcher implements IValueObject
	{
		[Bindable] public var testobjectId:int;
		[Bindable] public var userName:String = '';
		[Bindable] public var password:String = '';
		
		static private var _classRegistered:Boolean = false;
		
		public function TestObject ()
		{
			super();
			
			if (!_classRegistered)
			{
				registerClassAlias("TestObject", TestObject);
				_classRegistered = true;
			}
		}
		
	}
}